package com.on.smile.entity;

import java.sql.Date;

public class CustomerEntity {
    //客户表
    private Long id;
    //客户账号
    private String username;
    //用户真实姓名
    private String realName;
    //出生日期
    private Date birthDate;


    //性别，0-未知、1-男、2-女
    private Integer sex;
    //电话
    private String phone;
    //电子邮箱
    private String email;
    //地址
    private String address;

    public CustomerEntity() {
    }

    public CustomerEntity(Long id, String username, String realName, Date birthDate, Integer sex, String phone, String email, String address) {
        this.id = id;
        this.username = username;
        this.realName = realName;
        this.birthDate = birthDate;
        this.sex = sex;
        this.phone = phone;
        this.email = email;
        this.address = address;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}

